import PageToods from '@/components/PageTools'
import Vue from 'vue'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from '@/components/ImageUpload'
import ScreenFull from '@/components/ScreenFull'
import ThemePicker from '@/components/ThemePicker'
// 方法一:暴露函数
// function install() {
//     Vue.component('PageToods', PageToods)
// }
// export default install
// 方法二:暴露对象
export default {
  install() {
    // 全局注册
    Vue.component('PageToods', PageToods)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
  }
}
